package dao;

import entity.Bill;
import entity.User;
import org.apache.ibatis.annotations.Param;


import java.util.List;
import java.util.Map;

public interface UserMapper {

    List<Bill> getFinByNameAndId(Bill bill);

    int add(Bill bill);

    int modifty(Bill bill);

    int deleteByid(@Param("providerId") Integer providerId,@Param("id")Integer id);

    List<Bill> getList(Bill bill);

    List<Bill> getListColl(Bill bill);

    int JD4Add (Bill bill);

    int JD4modifty(Bill bill);

    int JD4deleteByid(@Param("id") Integer id);

    List<User> JD4selectByRoleId(@Param("userRole") Integer userRole);

    int JD4deleteByRoleId(@Param("userRole") Integer userRole);
}
